A microcontroller is a compact integrated circuit designed to control a specific operation in an embedded system. A typical microcontroller includes a processor, memory, and input/output (I/O) peripherals on a chip.